package com.icesoft.wechat.auth;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

@Getter
@Setter
@Accessors(chain = true)
public class WechatCredential {

	@NotNull(message = "encryptedData 不能为空")
	private String encryptedData;

	@NotNull(message = "iv 不能为空")
	private String iv;

	@NotNull(message = "code 不能为空")
	private String code;

	@NotNull(message = "signature 不能为空")
	private String signature;

	private String rawData;

	@NotNull(message = "appId 不能为空")
	private String appId;
}
